import logging

from pylons import request, response, session, tmpl_context as c, url
from pylons.controllers.util import abort, redirect

from monkeytest.lib.base import BaseController, render
from monkeytest.model import TestRun


log = logging.getLogger(__name__)

class DashboardController(BaseController):
    def index(self):
        c.testruns = TestRun.all()
        return render('/dashboard/index.html')
    
    def runTests(self):
        return ""